<?php
return [

    /*********************** 以下为view ***********************/
    "GET index.html" => "default/index",
    "GET article/<aid:\d+>.html" => "default/detail", //资讯详情页
    "GET preview/<aid:\d+>.html" => 'preview/index', //资讯详情页
    "GET mood.html" => "mood/index", //碎碎念
    "GET travel.html" =>'travel/index', //旅途相册
    "GET album/<aid:\d+>.html" =>'travel/photo',//相片
    "GET comment.html" =>'comment/index',//留言
    "GET contact.html"=>'contact/index', //关于我
    "GET category.html"=>'category/index', //详情页
    "GET category/<aid:\d+>.html"=>'category/detail', //详情页
    "GET  tags.html" =>'tag/index',
    "GET  tag/<aid:\d+>.html" =>'tag/detail',

    "GET search.html"=>'search/index', //详情页  //搜索页面

    "POST /api/comment" =>'comment/insert',
    "GET /api/comment/<article_id:\d+>" =>'comment/list',
    "GET /api/message"=>'comment/message',
    "GET /api/subComment/<article_id:\d+>" =>'comment/sub',

    "GET /api/article/list" =>'article/list',


];
